package com.lvmama.rhino.service.comment;

import com.github.pagehelper.PageInfo;
import com.lvmama.rhino.pojo.comment.entity.vo.*;
import com.lvmama.rhino.pojo.comment.request.CategoryCommentRateRequest;
import com.lvmama.rhino.pojo.comment.request.CategoryProductRankRequest;
import com.lvmama.rhino.pojo.comment.request.CategoryRankChartRequest;
import com.lvmama.rhino.pojo.comment.request.CategoryRankRequest;

import java.util.List;

/**
 * 品类排名
 */
public interface CategoryRankService {

    List<CategoryRankVO> getCategoryRank(CategoryRankRequest request);

    List<CategoryRankChartVO> getCategoryRankChart(CategoryRankChartRequest request);

    PageInfo<CategoryProductRankVO> getCategoryProductRank(CategoryProductRankRequest request);

    List<CategoryCommentCountVO> getCategoryCommentCount(CategoryCommentRateRequest request);

    CategoryCommentRateVO getOneCommentRate(CategoryCommentRateRequest request);

    List<CategoryCommentOrientVO> getOneCommentOrient(CategoryCommentRateRequest request);

}
